﻿using ShopManagment.Models;

namespace ShopManagment.Service.IService;

public interface IProductService
{
    void Add(Product  product);

    void Update(Product product);

    void Delete(long id);

    IEnumerable<Product> GetAll();

    Product GetById(long? id);
}